package com.woniu.common.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.woniu.common.annotation.Excel;
import com.woniu.common.core.domain.BaseEntity;

/**
 * 就诊信息（一个病人一个病历号，多次就诊信息）对象 dms_registration
 * 
 * @author ruoyi
 * @date 2024-10-21
 */
public class DmsRegistration extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 病人ID */
    @Excel(name = "病人ID")
    private Integer patientId;

    /** 结束就诊 */
    @Excel(name = "结束就诊")
    private Integer endAttendance;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 预约ID */
    @Excel(name = "预约ID")
    private Integer skdId;

    /** 需要预约 */
    @Excel(name = "需要预约")
    private Integer needBook;

    /** 绑定状态 */
    @Excel(name = "绑定状态")
    private Integer bindStatus;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Integer deptId;

    /** 就诊日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "就诊日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date attendanceDate;

    /** 病人年龄字符串 */
    @Excel(name = "病人年龄字符串")
    private String patientAgeStr;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setPatientId(Integer patientId) 
    {
        this.patientId = patientId;
    }

    public Integer getPatientId() 
    {
        return patientId;
    }
    public void setEndAttendance(Integer endAttendance) 
    {
        this.endAttendance = endAttendance;
    }

    public Integer getEndAttendance() 
    {
        return endAttendance;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setSkdId(Integer skdId) 
    {
        this.skdId = skdId;
    }

    public Integer getSkdId() 
    {
        return skdId;
    }
    public void setNeedBook(Integer needBook) 
    {
        this.needBook = needBook;
    }

    public Integer getNeedBook() 
    {
        return needBook;
    }
    public void setBindStatus(Integer bindStatus) 
    {
        this.bindStatus = bindStatus;
    }

    public Integer getBindStatus() 
    {
        return bindStatus;
    }
    public void setDeptId(Integer deptId) 
    {
        this.deptId = deptId;
    }

    public Integer getDeptId() 
    {
        return deptId;
    }
    public void setAttendanceDate(Date attendanceDate) 
    {
        this.attendanceDate = attendanceDate;
    }

    public Date getAttendanceDate() 
    {
        return attendanceDate;
    }
    public void setPatientAgeStr(String patientAgeStr) 
    {
        this.patientAgeStr = patientAgeStr;
    }

    public String getPatientAgeStr() 
    {
        return patientAgeStr;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("patientId", getPatientId())
            .append("createTime", getCreateTime())
            .append("endAttendance", getEndAttendance())
            .append("status", getStatus())
            .append("skdId", getSkdId())
            .append("needBook", getNeedBook())
            .append("bindStatus", getBindStatus())
            .append("deptId", getDeptId())
            .append("attendanceDate", getAttendanceDate())
            .append("patientAgeStr", getPatientAgeStr())
            .toString();
    }
}
